<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>UserInfo</title>
</head>
<body>
<h3>用户查询界面</h3>

<script th:src="@{/js/jquery.min.js}"></script>
<script>
    $.ajax({
        type: "post",
        contentType : "application/json;charset=utf-8",
        url: "http://127.0.0.1:8081/mp/userInfo/userDemo",
        success : function(data){
          console.log(data);
        }
    });
</script>
</body>
</html>